package com.lbj.mall.product.feign;

import com.lbj.mall.common.entity.vo.SkuUpVo;
import com.lbj.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("mall-search")
public interface SearchFeign {

    @PostMapping("/search/save/product")
    R saveProduct(@RequestBody List<SkuUpVo> skuUpList);
}
